package io.github.talelin.latticy.dto.category;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * ClassName UpdateCategoryDTO
 * Description
 * Create by zcy
 * Date 2022-06-09
 */
@Data
public class UpdateCategoryDTO implements Serializable {
    private static final long serialVersionUID = 632304028394556350L;

    /**
     * 品类名称
     */
    @NotBlank(message = "{category.category-name}")
    private String categoryName;

    /**
     * 品类英文名称
     */
    @NotBlank(message = "{category.category-english-name}")
    private String categoryEnglishName;

}
